package com.guanglan.service;

import java.util.List;
import java.util.Map;

import com.guanglan.domain.SysRole;

public interface SysRoleService {
	
	 	int deleteByPrimaryKey(Long id);

	    int insert(SysRole record);

	    int insertSelective(SysRole record);

	    SysRole selectByPrimaryKey(Long id);

	    int updateByPrimaryKeySelective(SysRole record);

	    int updateByPrimaryKey(SysRole record);
	    
	    List<SysRole> selectByRoleId(List<Long> roleIds);
	    
	    List<SysRole> getRoles(Map<String,Object> params);
	    
	    Integer getRolesCount(Map<String,Object> params);
}
